package breakDemo;

/**
 * @author: snail_mount
 * @date: 20/1/8 22:19
 * @description:
 */
public class BreakTest01 {
    public static void main(String[] args) {
        int count = 0;
        for (int i = 0; i < 5; i++) {
            if (i == 3) {
                System.out.println("看看");
                break;//输出1 2 3
//                System.out.println("看看");
            }
            count++;
            System.out.println(count + "外层");
        }
    }
}
